import { BasicPageArgs, BasicFetchResult } from '@/api/model/baseModel';

export type AccountArgs = {
  account?: string;
  nickname?: string;
  deptId?: string;
};

export type AccountParams = BasicPageArgs<AccountArgs>;

export interface AccountListItem {
  userId: string;
  account: string;
  email: string;
  nickName: string;
  roleIds: any;
  createTime: string;
  remark: string;
  avatar: string;
  mobile: string;
  status: string;
}

export type AccountListGetResultModel = BasicFetchResult<AccountListItem>;
